import React from 'react';
import {useSelectAuth} from "@/store/slice/auth";

function Home() {
    const state = useSelectAuth();
    return (
        <div>
            <h3>{state.info.name}</h3>
            <img src={state.info.avatar}></img>
        </div>
    );
}

export default Home;